package com.wlts.wzy.DYOrderModule.service;

import com.wlts.wzy.expand.MyLambdaQueryWrapper;
import com.wlts.wzy.expand.MyPage;
import com.wlts.wzy.DYOrderModule.entity.DyOrders;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.Serializable;

/**
 * <p>
 * 快手订单表 服务类
 * </p>
 *
 * @author zhiyong
 * @since 2021-02-28
 */
public interface IDyOrdersService extends IService<DyOrders> {

    DyOrders getById(Serializable id, boolean isUseCache);

    MyPage<DyOrders> page(DyOrders dyOrders, Integer page, Integer size, boolean isUseCache);

    MyPage<DyOrders> page(DyOrders dyOrders, Integer page, Integer size, boolean isUseCache, String dimension);

    MyPage<DyOrders> page(MyLambdaQueryWrapper<DyOrders> wrapper, Integer page, Integer size, boolean isUseCache);

    MyPage<DyOrders> page(MyLambdaQueryWrapper<DyOrders> wrapper, Integer page, Integer size, boolean isUseCache, String dimension);

    DyOrders selectOnes(MyLambdaQueryWrapper<DyOrders> wrapper, boolean isUseCache);

    void delAllPageCache();

    void delDimensionPageCache(String dimension);
}
